'use strict';

const Controller = require('egg').Controller;

class ProjectlistController extends Controller {
  async showAllProjects() {
    const { ctx, app } = this
    const result = await ctx.service.projectlist.showAllProjects()
    ctx.body = {
      result
    }
  }
}

module.exports = ProjectlistController;
